﻿/* PN264 - A Parallel H.264 Encoding Utility
 * Copyright © 2009 PN264 Development Team
 *
 * This software is released the terms and conditions of the MIT License,
 * a copy of which can be found in the License.txt file.
 *
 * Contributors:
 * Will 'AnarkiNet' Shelley (AnarkiNet@gmail.com)
 */

namespace PN264
{
    /// <summary>
    /// Represents various operational states of a <see cref="Worker"/>.
    /// </summary>
    public enum WorkerStatus
    {
        /// <summary>
        /// The <see cref="Worker"/> is idle, and is not performing any work.
        /// </summary>
        Idle,
        /// <summary>
        /// The <see cref="Worker"/> is preparing to start processing a work unit.
        /// </summary>
        StartingUp,
        /// <summary>
        /// The <see cref="Worker"/> is processing a work unit.
        /// </summary>
        Working,
        /// <summary>
        /// The <see cref="Worker"/> is shutting down and will no longer process work units after the current.
        /// </summary>
        ShuttingDown,
        /// <summary>
        /// The <see cref="Worker"/> has been shut down. No further processing will be carried out.
        /// </summary>
        ShutDown,
    }
}
